home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #4 / Amiga Plus CD - 2000 - No. 4.iso / Tools / Commo-Support / Disk-Archive / install-2_05.dms / install-2_05.adf / UpdateWB < prev    next >
Encoding:
AmigaDOS Script File  |  1992-01-24  |  17.7 KB  |  620 lines

  1. .key test/s,full/s
  2. .bra [
  3. .ket ]
  4. ;
  5. echo "*Ec*N                   2.0 Installation/Update*N"
  6. ;
  7. ; Must have 2.0 roms for this script to work
  8. version >NIL: 37
  9. if warn
  10. echo "You must be using 2.0 Kickstart to install the 2.0 Workbench !"
  11. skip end
  12. endif
  13. ;
  14. ; make required commands resident
  15. ;
  16. echo "*NSetting up commands..."
  17. ;
  18. resident c:Copy pure
  19. resident c:Assign pure
  20. resident c:Info pure
  21. resident c:Rename pure
  22. resident c:Delete pure
  23. resident c:List pure
  24. resident c:Makedir pure
  25. resident c:Execute pure
  26. resident c:Eval pure
  27. resident >NIL: c:IconPos pure
  28. ;
  29. ; set directory to return to
  30. assign tempdir: ""
  31. cd ram:
  32. ; make sure they booted from the install disk
  33. set target `2.0Install:c/list sys:system.info lformat="%f"`
  34. if "$target" NOT EQ "2.0Install:"
  35.     echo "Please boot from your 2.0Install disk to install the 2.0 software."
  36.     if "[test]" EQ ""
  37.         skip exit
  38.     endif
  39. endif
  40. ;
  41. failat 21
  42. ;
  43. ; attempt to figure out the name of sys: partition
  44. ;
  45. ; is it an A3000 style set up ?
  46. assign >NIL: exists wb_2.x:
  47. if not warn
  48. ; Get the volume name of the wb_2.x: device
  49.     ; the .info will be deleted later with the rest of them
  50.     echo "findme" >wb_2.x:.info
  51.     set target `list wb_2.x:.info lformat="%f"`
  52. else
  53. ; is it a 2091 or A590 ?
  54. assign >NIL: exists Workbench:
  55. if not warn
  56. set target Workbench:
  57. else
  58. ; is it a 2090a ?
  59. assign >NIL: exists BOOT:
  60. if not warn
  61.     set target fh0:
  62.     ; see if they have the standard mounts
  63.     if exists BOOT:devs/MountList.HD
  64.         mount fh0: from BOOT:devs/MountList.HD
  65.         mount fh1: from BOOT:devs/MountList.HD
  66.     else
  67.         mount fh0: from BOOT:devs/MountList
  68.         mount fh1: from BOOT:devs/MountList
  69.     endif
  70. else
  71. ; is it a 2090 SCSI ?
  72. assign >NIL: exists dh2:
  73. if not warn
  74. set target dh2:
  75. else
  76. ; is it a 2090 ST506 ?
  77. assign >NIL: exists dh0:
  78. if not warn
  79. set target dh0:
  80. endif
  81. endif
  82. endif
  83. endif
  84. endif
  85. ;
  86. ; If we can't tell what kind of system it is, ask the user directly.
  87. ; Note that we must remember to ask for a keymap afterwords.
  88. if "$target" EQ "2.0Install:"
  89.     set needSKeymap 1
  90.     skip nameloop
  91. endif
  92.  
  93. ; make them pick a keymap so they can answer the questions.
  94. ;
  95. if "${sys/keyboard}" EQ "*${sys/keyboard}"
  96.     echo "*NPlease select a default keymap."
  97.     execute Picky $target
  98. endif
  99. ;
  100. ; make sure we got it right
  101. Ask "*NIs your normal SYS: partition located on $target ? (Y/N) "
  102. if not warn
  103. lab nameloop
  104.   echo "Type the name of your Workbench (SYS:) partition (Q to quit) ? " noline
  105.   set >NIL: target ?
  106. ; Test to see if they gave a reasonable response
  107.   if "$target" EQ "Q"
  108.       skip exit
  109.   endif
  110.  
  111. ; first add a ":" if they forgot
  112.  
  113.   if "`echo $target len 1`" NOT EQ ":"
  114.     set target $target:
  115.   endif
  116.  
  117.   if "${target}" EQ "SYS:"
  118.     echo "Error:  cannot install to the 2.0Install disk."
  119.     echo "Please give the volume name of your SYS: partition.*N"
  120.     skip back nameloop
  121.   endif
  122.  
  123.   assign >NIL: exists "${target}"
  124.   if warn
  125.     echo "Error: partition does not exist.  The partition may not"
  126.     echo "be mounted, or the driver for your card may not have"
  127.     echo "been started.  If this is the case, you will need to"
  128.     echo "copy the driver into the Expansion drawer of this disk,"
  129.     echo "or perform the mount by hand before starting this Install.*N"
  130.     skip back nameloop
  131.   endif
  132.   ;
  133.   ; if full flag is set, we don't check for startup-sequence
  134.   ; as we are assuming the partition is formatted.
  135.   ;
  136.   if "[full]" EQ ""
  137.     if not exists "${target}s/Startup-Sequence"
  138.       echo "Warning: There is no startup-sequence on this partition."
  139.       ask "Continue anyway ? (Y/N) "
  140.       if warn
  141.     skip partok
  142.       endif
  143.       echo "Please try again.*N"
  144.       skip back nameloop
  145.     endif
  146.   endif
  147. endif
  148.  
  149. lab partok
  150.  
  151. ; if the user had to explicitly specify a target partition,
  152. ; then give him a second chance to choose a keymap.
  153. if $needSKeymap EQ "1"
  154.     if "${sys/keyboard}" EQ "*${sys/keyboard}"
  155.         echo "*NPlease select a default keymap."
  156.         execute Picky $target
  157.     endif
  158. endif
  159.  
  160. if "${sys/keyboard}" NOT EQ "*${sys/keyboard}"
  161.     makedir >NIL: ${target}prefs
  162.     makedir >NIL: ${target}prefs/env-archive
  163.     makedir >NIL: ${target}prefs/env-archive/sys
  164.     echo >${target}prefs/env-archive/sys/keyboard ${sys/keyboard}
  165. endif
  166.  
  167.  
  168. ; make sure the date on their system is reasonable.
  169. resident >NIL: c:date force
  170. echo "*NSystem date is `date`."
  171. Ask "Is this correct ? (Y/N) "
  172. if not warn
  173.     echo "Please enter correct date (DD-MMM-YY): " noline
  174.     date >NIL: ?
  175.     echo "Please enter correct time (HH:MM): " noline
  176.     date >NIL: ?
  177.     setclock save
  178.     echo "System date set to `date`."
  179. endif
  180. resident remove date
  181.  
  182. ;
  183. ;aliases for testing
  184. ;
  185. if "[test]" NOT EQ ""
  186.     echo "In test mode"
  187.     alias copy echo "-> copy"
  188.     alias delete echo "-> delete"
  189.     alias iconpos echo "-> iconpos"
  190.     alias rename echo "-> rename"
  191. endif
  192. ;
  193. ; make some source assignments for convenience
  194. ;
  195. assign a: 2.0Install:
  196. assign target: "${target}"
  197. ;
  198. ; Little script that only deletes files that exist -- avoids unneeded warnings
  199. copy a:s/RoomForFonts a:s/DelExist RAM: quiet
  200. ;
  201.  
  202. echo "*EcThis procedure will update your hard disk with a new version of 2.0."
  203. echo "Commands on your current SYS: partition will be overwritten."
  204. echo "Obsolete commands will be deleted. (But your startup-sequence,"
  205. echo "StartupII and mountlist will be saved.)*N"
  206. Ask "Do you wish to continue ? (Y/N) "
  207. if not warn
  208. echo "Installation process stopped."
  209. skip exit
  210. endif
  211. ;
  212. ;
  213. ; Create a place for the old commands
  214. echo "*NNow creating a ${target}OLD directory for old commands and scripts..."
  215. if exists target:OLD
  216.     set newname `date`
  217.     set newname `echo "$newname" len 18`
  218.     set newname OLD_`echo "$newname" first 1 len 9`
  219.     echo "*NWARNING: ${target}OLD already exists.  This directory"
  220.     echo "will be renamed to *"$newname*" and a new OLD created."
  221.     rename >NIL: target:OLD "target:${newname}"
  222. endif
  223.     makedir >NIL: target:OLD
  224.  
  225. ; For storing Preferences
  226. ;
  227. makedir >NIL: target:prefs/env-archive
  228. makedir >NIL: target:prefs/env-archive/sys
  229. ;
  230. ASSIGN >NIL: exists boot:
  231. if not WARN
  232. ; its a 2090a
  233.     makedir >NIL: BOOT:OLD
  234.     rename >NIL: BOOT:s/Startup-Sequence BOOT:OLD
  235.     copy a:s/S-S_boot BOOT:s/Startup-Sequence 
  236. endif
  237. ;
  238. echo "*NMoving your Startup-Sequence and Mountlist into ${target}OLD."
  239. rename >NIL: target:s/Startup-Sequence target:devs/MountList target:OLD quiet
  240. if exists target:s/Shell-Startup
  241. echo "Moving your s:Shell-Startup into ${target}OLD."
  242. rename >NIL: target:s/Shell-Startup target:Old quiet
  243. endif
  244. if exists target:s/CLI-Startup
  245. echo "Moving your s:CLI-Startup into ${target}OLD."
  246. rename >NIL: target:s/CLI-Startup target:Old quiet
  247. endif
  248. if exists target:s/StartupII
  249. echo "Moving your s:StartupII into ${target}OLD."
  250. rename >NIL: target:s/StartupII target:Old quiet
  251. endif
  252. if exists target:s/BRUTab
  253. echo "Moving your s:BRUTab into ${target}OLD."
  254. rename >NIL: target:s/BRUTab target:Old quiet
  255. endif
  256. if exists target:s/HDBackup.config
  257. echo "Moving your s:HDBackup.config into ${target}OLD."
  258. rename >NIL: target:s/HDBackup.config target:Old quiet
  259. endif
  260. if exists target:s/ed-startup
  261. echo "Moving your s:ed-startup into ${target}OLD."
  262. rename >NIL: target:s/ed-startup target:Old quiet
  263. endif
  264. if exists target:devs/system-configuration
  265. echo "Moving your devs:system-configuration into ${target}OLD."
  266. rename >NIL: target:devs/system-configuration target:Old quiet
  267. endif
  268. if exists target:l/pipe-handler
  269. echo "Moving your l:pipe-handler into ${target}OLD."
  270. rename >NIL: target:l/pipe-handler target:Old quiet
  271. endif
  272. ;
  273. ; Now to install the software
  274. ;
  275.  
  276. ; save off their wbconfig if it exists
  277. if exists target:prefs/env-archive/sys/wbconfig.prefs
  278.     copy target:prefs/env-archive/sys/wbconfig.prefs ram: quiet
  279. endif
  280.  
  281. ;
  282. ; lets see about making some room
  283. ;
  284. cd ram:
  285. ;
  286. ; Rename or delete obsolete files or old files that are now in new places
  287. ;
  288. echo "*NLooking for files in ${target}C that are obsolete under 2.0..."
  289. ;
  290. ram:DelExist target:c/setenv
  291. ram:DelExist target:c/getenv
  292. ram:DelExist target:c/echo
  293. ram:DelExist target:c/path
  294. ram:DelExist target:c/resident
  295. ram:DelExist target:c/ask
  296. ram:DelExist target:c/CD
  297. ram:DelExist target:c/else
  298. ram:DelExist target:c/endcli
  299. ram:DelExist target:c/endif
  300. ram:DelExist target:c/endskip
  301. ram:DelExist target:c/failat
  302. ram:DelExist target:c/fault
  303. ram:DelExist target:c/if
  304. ram:DelExist target:c/lab
  305. ram:DelExist target:c/newcli
  306. ram:DelExist target:c/newshell
  307. ram:DelExist target:c/prompt
  308. ram:DelExist target:c/quit
  309. ram:DelExist target:c/run
  310. ram:DelExist target:c/skip
  311. ram:DelExist target:c/stack
  312. ram:DelExist target:c/why
  313. echo "."
  314. ;
  315. ; delete the old commodities
  316. ;
  317. if exists target:Tools/blanker
  318.     echo "Looking for old commodities from ${target}Tools..."
  319. endif
  320. ram:DelExist target:Tools/blanker
  321. ram:DelExist target:Tools/fkey
  322. ram:DelExist target:Tools/ihelp
  323. ram:DelExist target:Tools/nocapslock
  324. ram:DelExist target:Tools/autopoint
  325. ram:DelExist target:Tools/blanker.info
  326. ram:DelExist target:Tools/fkey.info
  327. ram:DelExist target:Tools/ihelp.info
  328. ram:DelExist target:Tools/nocapslock.info
  329. ram:DelExist target:Tools/autopoint.info
  330. echo "."
  331.  
  332. echo "Looking for obsolete system libraries..."
  333. ram:DelExist target:libs/icon.library
  334. ram:DelExist target:libs/info.library
  335. ram:DelExist target:devs/ramdrive.device
  336. ram:DelExist target:devs/keymaps/usa1
  337. ram:DelExist target:l/Disk-Validator
  338. ram:DelExist target:l/Newcon-Handler
  339. ram:DelExist target:l/Shell-Seg
  340. ram:DelExist target:l/Ram-Handler
  341. echo "."
  342.  
  343. echo "Looking for tools that have been replaced under 2.0..."
  344. ram:DelExist target:Prefs/CopyPrefs
  345. ram:DelExist target:Prefs/CopyPrefs.info
  346.  
  347. ram:DelExist target:Tools/KeyToy
  348. ram:DelExist target:Tools/KeyToy.info
  349. ram:DelExist target:Tools/KeyToy2000
  350. ram:DelExist target:Tools/KeyToy2000.info
  351. ram:DelExist target:Tools/Palette
  352. ram:DelExist target:Tools/Palette.info
  353. ram:DelExist target:Tools/IconMerge
  354. ram:DelExist target:Tools/IconMerge.info
  355. ;
  356. ram:DelExist target:System/FastMemFirst
  357. ram:DelExist target:System/FastMemFirst.info
  358. ram:DelExist target:System/InitPrinter
  359. ram:DelExist target:System/InitPrinter.info
  360. ;
  361. ram:DelExist target:Utilities/Calculator
  362. ram:DelExist target:Utilities/Calculator.info
  363. ram:DelExist target:Utilities/ClockPtr
  364. ram:DelExist target:Utilities/ClockPtr.info
  365. ram:DelExist target:Utilities/CMD
  366. ram:DelExist target:Utilities/Cmd.info
  367. ram:DelExist target:Utilities/GraphicDump
  368. ram:DelExist target:Utilities/GraphicDump.info
  369. ram:DelExist target:Utilities/PrintFiles
  370. ram:DelExist target:Utilities/PrintFiles.info
  371. echo "."
  372. ;
  373. echo "*NAdjusting positions of icons on your SYS: partition..."
  374. ;
  375. ; Delete all ".info" files
  376. ;
  377. list target:#? all files pat=.info lformat "delete *"%p%n*" quiet" >t:dinfo
  378. execute t:dinfo
  379. delete ram:delexist quiet
  380. ;
  381. ; make all icons left have no icon position
  382. ;
  383. makedir >NIL: target:Tools target:Utilities target:System target:Prefs
  384. list target:#?.info target:tools/#?.info target:utilities/#?.info target:system/#?.info target:prefs/#?.info files lformat "iconpos >NIL: *"%p%n*" -1 -1" >t:dinfo
  385. execute t:dinfo
  386. delete t:dinfo quiet
  387.  
  388. echo "*NInstalling software from the Workbench2.0 disk...*N"
  389. copy Workbench2.0: target: all com
  390. ;
  391. ; restore their wbconfig.prefs
  392. ;
  393. if exists ram:wbconfig.prefs
  394.     copy ram:wbconfig.prefs target:prefs/env-archive/sys/wbconfig.prefs quiet
  395.     delete ram:wbconfig.prefs quiet
  396. endif
  397. ;
  398. ; if its a BOOT: deal, update their first SetPatch
  399. ;
  400. ASSIGN >NIL: exists boot:
  401. if not WARN
  402.   Echo "Updating BOOT:C/SetPatch"
  403.   copy target:C/SetPatch Boot:C quiet
  404. endif
  405. echo "*NFiles from Workbench disk installed."
  406.  
  407. echo "*NInstalling software from the Extras2.0 disk...*N"
  408. copy Extras2.0: target: com all
  409. echo "*NFiles from Extras disk installed."
  410.  
  411. echo "*NInstalling software from the AmigaFonts2.0 disk...*N"
  412. set needSSWorkFonts 0
  413. set fontSInstalled 0
  414. ; note:  this call requires using the ${target}
  415. execute RAM:RoomForFonts ${target} [test]
  416. if val 5 GT "$fontreturn"
  417.     echo ""
  418.     copy AmigaFonts2.0:fonts target:fonts all com
  419.     set fontSInstalled 1
  420. else
  421.     echo "Warning: There isn't enough room to install the fonts in ${target}"
  422.     ; if we have a work partition
  423.     assign >NIL: exists work:
  424.     if not WARN
  425.         ask "Would you like to install them in WORK: ? (Y/N) "
  426.         if WARN
  427.             copy AmigaFonts2.0:fonts work:fonts all com
  428.             ;
  429.             ; We will need the startup-sequence that understands this into S:
  430.             set needSSWorkFonts 1
  431.             set fontSInstalled 1
  432.         endif
  433.     endif
  434. endif
  435. ;
  436. echo "*NThe Outline Font option is recommended for systems having"
  437. echo "at least 1 Megabyte of RAM."
  438. ask "Do you wish to install the Outline Font option ? (Y/N) "
  439. if WARN
  440.     copy AmigaFonts2.0:libs/diskfont.library target:libs all com
  441.     set fontSInstalled 1
  442. endif
  443. ;
  444. if $fontSInstalled EQ "1"
  445.     echo "*NFiles from AmigaFonts disk installed."
  446. endif
  447. ;
  448. if $needSSWorkFonts EQ "0"
  449.     copy a:s/Startup-Sequence.hd target:s/Startup-Sequence
  450. else
  451.     copy a:s/Startup-Sequence.wf target:s/Startup-Sequence
  452. endif
  453. ; Hard disk users need the special version of PickMap
  454. copy a:s/PickMap.hd target:s
  455.  
  456. delete RAM:RoomForFonts quiet
  457.  
  458. ;
  459. ; Refresh anything that's in the Monitors drawer, and pull
  460. ; it out of the MonitorStore.
  461. ;
  462. if exists target:Monitors
  463.     list target:Monitors lformat "if exists *"target:MonitorStore/%n*"*Ncopy *"target:MonitorStore/%n*" target:Monitors*Ndelete *"target:MonitorStore/%n*" quiet*Nendif" >t:movemonitors
  464.     execute t:movemonitors
  465.     delete t:movemonitors quiet
  466. endif
  467. ;
  468. copy a:Copy2WB2/wdisk.info target:disk.info
  469. copy a:Copy2WB2/wsystem.info target:System.info
  470. copy a:Copy2WB2/wtools.info target:Tools.info
  471.  
  472. Echo "*NInstalling additional tools..."
  473. ;
  474. ; Copy over an L:FastFileSystem if they had one already
  475. ; or this is a full install
  476. ;
  477. if "[full]" NOT EQ ""
  478.     echo "ok" >target:l/FastFileSystem
  479. endif
  480. if exists target:l/FastFileSystem
  481.     echo "Placing a 2.0 version of L:FastFileSystem in your L: directory."
  482.     copy a:l/FastFileSystem target:l
  483. endif
  484.  
  485. ; test for scsi device
  486. ;
  487. version scsi.device >NIL:
  488. if not warn
  489.     cd ram:
  490.     echo "Updating Rigid Disk Block (filesystem)."
  491.     2.0Install:Prod_prep >NIL: Unit 0 layout 2.0Install:PrepUpScript
  492. ; force installation of new HDToolbox
  493.     echo "ok" >target:tools/HDtoolbox
  494. endif
  495.  
  496. ; special tools section
  497. cd a:Tools
  498.  
  499. if "[full]" NOT EQ ""
  500.     echo "ok" >target:tools/HDtoolbox
  501. endif
  502. if exists target:tools/HDtoolbox
  503.     echo "Placing a 2.0 version of HDToolbox in your SYS:Tools directory."
  504.     copy a:Tools/HDToolbox a:Tools/HDToolbox.info target:Tools quiet
  505. endif
  506.  
  507. copy Lacer Lacer.info ShowConfig Showconfig.info target:Tools quiet
  508.  
  509. ;
  510. ; position icons
  511. echo "*NPositioning new icons..."
  512. iconpos >NIL: target:Trashcan type=GARBAGE 277 38
  513. iconpos >NIL: target:System type=DRAWER 98 4
  514. iconpos >NIL: target:Shell type=PROJECT 16 4
  515. iconpos >NIL: target:Expansion type=DRAWER 280 4
  516. iconpos >NIL: target:Prefs type=DRAWER 3 43
  517. iconpos >NIL: target:Utilities type=DRAWER 98 72
  518. iconpos >NIL: target:WBStartup type=DRAWER 189 72
  519. iconpos >NIL: target:Tools type=DRAWER 98 38
  520. iconpos >NIL: target:MonitorStore type=DRAWER 189 38
  521. iconpos >NIL: target:Monitors type=DRAWER 189 4
  522. iconpos >NIL: target:Trashcan type=GARBAGE 277 38
  523. ;
  524. iconpos >NIL: target:System/Fountain type=TOOL 272 4
  525. ;
  526. iconpos >NIL: target:Tools/Lacer type=TOOL 7 134
  527. iconpos >NIL: target:Tools/ShowConfig type=TOOL 88 134
  528. if exists target:tools/HDtoolbox
  529.     iconpos >NIL: target:Tools/HDBackup type=TOOL 261 54
  530.     iconpos >NIL: target:Tools/HDtoolbox type=TOOL 269 101
  531.     iconpos >NIL: target:Tools/Commodities type=DRAWER 272 143
  532. endif
  533. ;
  534.  
  535. ; default boot to interlace ?
  536. echo "*NWould you like your default system-configuration"
  537. Ask "to be interlace ? (Y/N) "
  538. if warn
  539.     copy a:devs/system-configuration.i target:devs/system-configuration
  540. endif
  541. ; check for 2090a
  542. assign >NIL: exists BOOT:
  543. if not warn
  544.     copy target:devs/system-configuration BOOT:devs
  545. endif
  546.  
  547. ; If they have a 2232 installed, we have the updated drivers for them!
  548. if exists target:devs/oldser.device
  549. echo "A2232 detected.  Updating serial.device and oldser.device."
  550. copy a:A2232/serial.device target:devs/serial.device quiet
  551. copy a:A2232/oldser.device target:devs/oldser.device quiet
  552. ; we have some information to tell them at the end
  553. endif
  554. ;
  555.  
  556. ; run fixfonts on the just installed hard disk
  557. assign fonts: target:fonts
  558. a:System/fixfonts
  559. assign fonts: a:fonts
  560.  
  561. echo "*EcInstallation of 2.0 Workbench complete."
  562. echo "*NIf needed, you may now customize your User-Startup,"
  563. echo "Shell-Startup and MountList."
  564. echo "You will find your old versions in the ${target}OLD directory."
  565. echo "*NNOTES: Under 2.0 most changes to the Startup-Sequence"
  566. echo "       can be placed in your S:User-Startup file."
  567. echo "       You may have to rearrange and snapshot icons in"
  568. echo "       some of your windows after you reboot."
  569. ;
  570. ; tell them about special notes
  571. ;
  572. if exists target:devs/oldser.device
  573.     echo "*NIf you had installed the special aux-handler and port-handler"
  574.     echo "from the CLI directory of your A2232 Install disk, you must"
  575.     echo "once again install those files."
  576. endif
  577.  
  578. if exists target:l/FastFileSystem
  579.     echo "*NA new version of the FastFileSystem has been placed in your L:"
  580.     echo "directory.  You can save memory by making hard disks that"
  581.     echo "use L:FastFileSystem use the ROM FastFileSystem instead."
  582. endif
  583.  
  584. if "${target}" EQ "dh0:"
  585.     echo "*NIf you are booting from floppy, you should install"
  586.     echo "the file 2.0Install:S/S-S_Boot.dh0 as the startup-sequence"
  587.     echo "on your boot floppy disk."
  588. endif
  589.  
  590. if "${target}" EQ "dh2:"
  591.     echo "*NIf you are booting from floppy, you should install"
  592.     echo "the file 2.0Install:S/S-S_Boot.dh2 as the startup-sequence"
  593.     echo "on your boot floppy disk."
  594. endif
  595.  
  596. echo "*NPlease remove the 2.0Install disk from the disk drive and"
  597. echo "reboot your machine to use the new commands."
  598. ;
  599. lab exit
  600. ; remove the temporary installation assignments
  601. assign a:
  602. assign target:
  603. ;
  604. cd tempdir:
  605. assign tempdir:
  606. ; remove the test aliases and sets
  607. if "[test]" NOT EQ ""
  608. unset echo    
  609. unalias copy
  610. unalias rename
  611. unalias delete
  612. endif
  613. ; unset our temporary variables
  614. unset size
  615. unset target
  616. unset needSKeymap
  617. unset needSSWorkFonts
  618. unset newname
  619. lab end
  620.